package com.zyk.scaffold.tcp.enums;

public enum EventTypeEnum {
    SESSION_CREATED(1, "session 创建"),
    SESSION_DESTROYED(2, "session 创建"),
    ;

    private int code;
    private String desc;

    EventTypeEnum(int code, String desc) {
        code = code;
        desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
